package com.bamboo.pistorage.factory;

import com.bamboo.model.enums.CloudVendorEnum;

/**
* @description cos客户端工厂构造器
* @date 2025/3/27 下午2:55
* @author chenzh
*/
public class COSClientFactoryBuilder {
    public static AbstractCOSClientFactory<?> getCOSClientFactory(CloudVendorEnum cloudVendor) {
        switch (cloudVendor) {
            case TENCENT:
                return new TencentCOSClientFactory();
            case ALI:
            case AWS:
            case HUAWEI:
            default:
                throw new UnsupportedOperationException("不支持的云厂商");
        }
    }
}
